package com.unissoft.ordersystem.service;

import java.util.List;

import com.unissoft.ordersystem.dataaccess.common.Criteria;
import com.unissoft.ordersystem.dataaccess.common.PageView;
import com.unissoft.ordersystem.dataaccess.common.SortMark;
import com.unissoft.ordersystem.dataaccess.model.RecordEntity;

public interface IRecordService {
	public void insert(RecordEntity entity);

	public void delete(int sid);

	public void update(RecordEntity entity);

	public RecordEntity get(int sid);

	public List<RecordEntity> list(Criteria criteria, PageView pageView,
			SortMark sortMark);

	public int count(Criteria criteria);
}